package com.blb.entity;

import java.util.Date;
import java.util.Set;

public class Role {

	private String id;
	private String rolename;
	private String note;
	private Date createTime;
	private String createUser;
	private Date updateTime;
	private String updateUser;
	private Set<User> user;
	private Set<Menu> menu;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getRolename() {
		return rolename;
	}
	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	
	public Set<User> getUser() {
		return user;
	}
	public void setUser(Set<User> user) {
		this.user = user;
	}
	public Set<Menu> getMenu() {
		return menu;
	}
	public void setMenu(Set<Menu> menu) {
		this.menu = menu;
	}
	@Override
	public String toString() {
		return "Role [id=" + id + ", rolename=" + rolename + ", note=" + note + ", createTime=" + createTime
				+ ", createUser=" + createUser + ", updateTime=" + updateTime + ", updateUser=" + updateUser + "]";
	}
	
}
